<template>
  <div>
    <Login v-if="showLogin" @switchToRegister="showLogin = false" />
    <Register v-else @switchToLogin="showLogin = true" />
  </div>
</template>

<script>
import Login from './Login.vue'
import Register from './Register.vue'

export default {
  components: { Login, Register },
  data() {
    return {
      showLogin: true
    }
  }
}
</script>